<!--作者:于大明-->
<template>
	<view class="bg-white pt-2" style="min-height: 100vh;">
		<!-- <view class="logo">
			<image src="https://pic.cwyyt.cn/upload/00whtc/myactivelog.jpg"></image>
		</view> -->

		<view >
			<view class="phone" style="margin-top: 80rpx;">
				<image src="https://pic.cwyyt.cn/upload/20230517/190313313_loginicon02.png" class="loginicon"></image>
				<input focus="true" type="number" :maxlength="11" v-model="registerLoginAccountIn.phone" class="input"
					placeholder="请输入手机号码" placeholder-style="color:#adc9d8;" />
				<image src="https://pic.cwyyt.cn/upload/20230517/190529529_loginicon03.png" class="guanbi"
					v-if="registerLoginAccountIn.phone" @click="registerLoginAccountIn.phone=''"></image>
				<view class="code" @click="getcode()" :style="{color:registerLoginAccountIn.phone?'#3578f5':''}">
					{{codeStr}}
				</view>
			</view>
			<view class="phone" style="margin-top: 30rpx;">
				<image src="https://pic.cwyyt.cn/upload/20230517/190346346_loginicon01.png" class="loginicon"></image>
				<input :focus="codeFocus" type="number" v-model="registerLoginAccountIn.sendCode" :maxlength="4"
					class="input" placeholder="请输入验证码" placeholder-style="color:#adc9d8;" />
				<image src="https://pic.cwyyt.cn/upload/20230517/190529529_loginicon03.png" class="guanbi"
					style="margin-left: auto;margin-right: 30rpx;" v-if="registerLoginAccountIn.code"
					@click="registerLoginAccountIn.code=''"></image>
			</view>
		</view>

		<view class="success" @click="login()">{{loginStr}}</view>
		<view class="remark">
			登陆即代表同意
			<text
				@click="$cw.gotoHerf('https://pic.cwyyt.cn/upload/00whtc/%E7%94%A8%E6%88%B7%E4%BD%BF%E7%94%A8%E5%8D%8F%E8%AE%AE.html')">用户使用协议</text>
			和
			<text
				@click="$cw.gotoHerf('https://pic.cwyyt.cn/upload/00whtc/%E7%94%A8%E6%88%B7%E4%BD%BF%E7%94%A8%E5%8D%8F%E8%AE%AE.html')">隐私政策</text>
		</view>


	</view>
</template>

<script src="./login.js"></script>

<style lang="less" scoped>
	@import url('login.less');
</style>